package views;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;

public class OperatorKarbantartasView extends Composite {
	private Text txtNev;
	private Text txtJelszo;
	private Text txtJelszoMegerosites;
	private Text txtEmail;
	private Text txtTelefonszam;
	private Button btnMentes;
	private Button btnMegse;
	private Label lblRegiJelszo;
	private Text txtRegiJelszo;
	private Label lblFelhasznaloNev;
	private Text txtFelhasznaloNev;

	public OperatorKarbantartasView(Composite arg0, int arg1) {
		super(arg0, arg1);
		setLayout(new GridLayout(2, false));

		lblFelhasznaloNev = new Label(this, SWT.NONE);
		lblFelhasznaloNev.setText("Felhaszn\u00E1l\u00F3n\u00E9v:");

		txtFelhasznaloNev = new Text(this, SWT.BORDER);
		txtFelhasznaloNev.setLayoutData(new GridData(SWT.FILL, SWT.CENTER,
				true, false, 1, 1));

		Label lblNev = new Label(this, SWT.NONE);
		lblNev.setText("Teljes n\u00E9v:");

		txtNev = new Text(this, SWT.BORDER);
		txtNev.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1,
				1));

		lblRegiJelszo = new Label(this, SWT.NONE);
		lblRegiJelszo.setText("R\u00E9gi jelsz\u00F3:");

		txtRegiJelszo = new Text(this, SWT.BORDER | SWT.PASSWORD);
		txtRegiJelszo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
				false, 1, 1));

		Label lblJelszo = new Label(this, SWT.NONE);
		lblJelszo.setText("Jelsz\u00F3: ");

		txtJelszo = new Text(this, SWT.BORDER | SWT.PASSWORD);
		txtJelszo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false,
				1, 1));

		Label lblJelszoMegerosites = new Label(this, SWT.NONE);
		lblJelszoMegerosites
				.setText("Jelsz\u00F3 meger\u0151s\u00EDt\u00E9se:");

		txtJelszoMegerosites = new Text(this, SWT.BORDER | SWT.PASSWORD);
		txtJelszoMegerosites.setLayoutData(new GridData(SWT.FILL, SWT.CENTER,
				true, false, 1, 1));

		Label lblEmail = new Label(this, SWT.NONE);
		lblEmail.setText("E-mail:");

		txtEmail = new Text(this, SWT.BORDER);
		txtEmail.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false,
				1, 1));

		Label lblTelefonszam = new Label(this, SWT.NONE);
		lblTelefonszam.setText("Telefonsz\u00E1m:");

		txtTelefonszam = new Text(this, SWT.BORDER);
		txtTelefonszam.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
				false, 1, 1));

		btnMentes = new Button(this, SWT.NONE);
		btnMentes.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
				false, 1, 1));
		btnMentes.setText("Ment\u00E9s");

		btnMegse = new Button(this, SWT.NONE);
		btnMegse.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false,
				false, 1, 1));
		btnMegse.setText("M\u00E9gse");

	}

	public Text getTxtNev() {
		return txtNev;
	}

	public Text getTxtJelszo() {
		return txtJelszo;
	}

	public Text getTxtJelszoMegerosites() {
		return txtJelszoMegerosites;
	}

	public Text getTxtEmail() {
		return txtEmail;
	}

	public Text getTxtTelefonszam() {
		return txtTelefonszam;
	}

	public Button getBtnMentes() {
		return btnMentes;
	}

	public Button getBtnMegse() {
		return btnMegse;
	}

	public Label getLblRegiJelszo() {
		return lblRegiJelszo;
	}

	public Text getTxtRegiJelszo() {
		return txtRegiJelszo;
	}

	public Label getLblFelhasznaloNev() {
		return lblFelhasznaloNev;
	}

	public Text getTxtFelhasznaloNev() {
		return txtFelhasznaloNev;
	}

}
